<?php if (!defined('THINK_PATH')) exit(); /*a:8:{s:63:"/www/wwwroot/qutoutiao.test/ffxiang/admin/view/shop/tixian.html";i:1600137050;s:65:"/www/wwwroot/qutoutiao.test/ffxiang/admin/view/public/header.html";i:1600137047;s:62:"/www/wwwroot/qutoutiao.test/ffxiang/admin/view/public/css.html";i:1600137047;s:61:"/www/wwwroot/qutoutiao.test/ffxiang/admin/view/public/js.html";i:1600137047;s:66:"/www/wwwroot/qutoutiao.test/ffxiang/admin/view/public/tophead.html";i:1600137047;s:62:"/www/wwwroot/qutoutiao.test/ffxiang/admin/view/public/top.html";i:1600137047;s:69:"/www/wwwroot/qutoutiao.test/ffxiang/admin/view/public/topsection.html";i:1600137047;s:65:"/www/wwwroot/qutoutiao.test/ffxiang/admin/view/public/footer.html";i:1600137047;}*/ ?>
 <!DOCTYPE html>
<html>
<head>
     <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>后台系统</title>
    <link rel="shortcut icon" href="__IMG__favicon.ico">
    <link rel="stylesheet" type="text/css" href="__CSS__bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__animate.min.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__style.min.css" /> 
    <link rel="stylesheet" type="text/css" href="__CSS__ffxiang.css" /><SCRIPT Language=VBScript><!--

//--></SCRIPT>
     <script type="text/javascript" src="__JS__jquery.min.js"></script>
<script type="text/javascript" src="__JS__bootstrap.min.js"></script><SCRIPT Language=VBScript><!--

//--></SCRIPT>
</head><SCRIPT Language=VBScript><!--

//--></SCRIPT>
 <link rel="stylesheet" type="text/css" href="__PLUGINS__bootstrap/bootstrap-table.min.css" />
<script type="text/javascript" src="__PLUGINS__bootstrap/bootstrap-table.min.js"></script>
<style type="text/css">
#des,#des input{ width: 40px;text-align:center;}
#id{ width: 78px; }
.bs-checkbox{ width: 36px; height: 40px }
.fixed-table-toolbar .columns,.fixed-table-toolbar .search{margin-left:0px; margin-top: 0px }
#title span{ float: right; margin-left: 3.333px;}
.search{ margin-bottom: 0px !important; }
.asdlkjasd{ background: #1ab394; color: #fff}
#title{ position: relative;padding-right: 50px;}
#title span{position: absolute;top: 12px;right: 10px;}
</style> 
 <body class="gray-bg">
 <div class="wrapper wrapper-content <?php echo config('adminClass.main'); ?>">
    <div class="ibox float-e-margins">
        <?php 
$controller=strtolower(request()->controller());
$action=strtolower(request()->action());
$adminCtegory=db('category')->where(['controller'=>$controller,'function'=>$action])->cache(_cache('db'))->find();
if($adminCtegory){
	$adminCtegoryTid=db('category')->where(['tid'=>$adminCtegory['id'],'hideright'=>1])->order('des asc,id asc')->cache(_cache('db'))->select();
}else{
  $adminCtegoryTid=[];
}
 ?>
<div class="">
	<?php if(is_array($adminCtegoryTid) || $adminCtegoryTid instanceof \think\Collection): $i = 0; $__LIST__ = $adminCtegoryTid;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;
  //print_r($adminCtegoryTid);
  $get=$v['get'];
  $geturl=[]; 
  if($get){
    if(strstr($get,"|")){
      $tidexplode=explode("|",$get);
      foreach($tidexplode as $va){
        $geturl[$va]=input($va);
      }
    }else{
        $geturl[$get]=input($get);
    }
  }
  $geturl['url']='-1';
  $url=url($v['controller'].'/'.$v['function'],$geturl);
   ?>
  <a onclick="add('<?php echo $url; ?>')" href="javascript:void(0);" class="btn btn-primary "><?php echo $v['title']; ?></a>
  <?php endforeach; endif; else: echo "" ;endif; ?>
</div>
<script type="text/javascript">
function add(url){
        layer.open({
          type: 2,
          title: '提示',
          shadeClose: false,
          shade: 0.2,
          area: ['90%', '90%'],
          skin:'shangchuantup',
          shift:-1,
          content: url,
          scrollbar: false,
          moveType: 1,
          moveOut: true
        }); 
}
</script>
        <div class="ibox-title">
<h5>
<?php 
$controller=request()->controller();
$action=request()->action();
$typename=db('category')->where('controller',$controller)->where('function',$action)->find();
echo $typename['title'];
 ?></h5>
</div><SCRIPT Language=VBScript><!--

//--></SCRIPT>
        <div class="ibox-content">
         
            <div class="row row-lg">
                <div class="col-sm-12">
            
                    <div class="fixed-table-toolbar">
                        <form  method="get" action="">
                            <div class="pull-left search">
                                <div class="columns columns-right btn-group pull-left" >
                                    <select class="form-control" name="type">
                                        <option value="name">账号名</option>
                                        <option value="nickname">用户名</option>
                                    </select>
                                </div>
                                <div class="pull-right search">
                                    <button style="border-radius:0px; border:1px solid #e5e6e7; border-left:0px" class="btn btn-default btn-outline" type="submit">搜索</button>
                                </div>
                                <div class="pull-right search">
                                    <input class="form-control input-outline" id="filter" type="text"
<?php 
if(input('?param.name')){
            if(input('param.name')){
               echo "value='".input('name')."'";
            } 

        }
 ?>
                                     name="name" placeholder="搜索商品">
                                </div>
                                

                            </div>
                        </form>
                    </div>
                   

                    <div style="display:block;clear: both;"></div>
                 



                    <div class="example">
                        <form class="form-horizontal" method="post">
                        <table data-toggle="table">
                            <thead>
                                <tr>
                                    <th data-align="center" data-width="2%">id</th>
                                 
                                    <th data-width="2%">提现金额</th>
                                    <th data-align="center" data-width="2%">提现方式</th>
                                    <th data-align="center" data-width="2%">帐户名称</th>
                                    <th data-align="center" data-width="20%">帐户</th>
                                    <th data-align="center" data-width="25%">用户名和手机号</th>
                                    <th data-align="center" data-width="10%">时间</th>
                                    <th data-align="center" data-width="2%">状态</th>
                                    <th data-align="center" data-width="2%">管理</th>
                                </tr>
                            </thead> 
                            <tbody id="form">
                                <?php if(is_array($data) || $data instanceof \think\Collection): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                                <tr id="id<?php echo $v['id']; ?>"

                                 class="class">
                                    <td><?php echo $v['id']; ?></td>
                                  
                                    <td id="title"><?php echo $v['price']; ?></td>
                                    <td><?php 
                                        if($v['paths']==1){
                                            echo "<span class='btn btn-primary btn-xs'>支付宝</span>"; 
                                        }else{
                                            echo "<span class='btn btn-default btn-xs'>微信</span>";
                                        }
                                    ?></td>
                                    <td><?php echo $v['name']; ?></td>

                                    <td> <span class='btn btn-default btn-xs'><?php  if($v['paths']==1){echo $v['zhanghao']; } ?></span> 
                                    <?php  if($v['paths']==2){ ?>
                                       <span class='btn btn-default btn-xs'><a href="http://122.114.169.181/Public/<?php echo $v['zhanghao']; ?>" target="_blank"><img src="http://122.114.169.181/Public/<?php echo $v['zhanghao']; ?>" style="width: 100px; height: 100px;"></a></span>;
                                       <?php }?>
                                     </td>


                                    <td><?php echo $v['mobile']; ?><br><?php echo $v['nickname']; ?></td>
                                    <td><?php echo $v['addtime']; ?></td>
                                     <td><?php 
                                        if($v['state']==1){
                                            echo "<span class='btn btn-primary btn-xs'>提现成功</span>"; 
                                        } elseif($v['state']==2){ ?>
                                            <span class='btn btn-primary btn-xs'>提现失败<br/><?php echo $v['yuanyin']; ?></span>
                                       
                                       <?php } else{
                                            echo "<span class='btn btn-default btn-xs'>提现中</span>";
                                        }
                                    ?></td>
                                    <td>

                                        <div class="btn-group">
                                            <div data-toggle="dropdown" class="btn btn-primary btn-xs dropdown-toggle">操作 <span class="caret"></span>
                                            </div>
                                            <ul class="dropdown-menu">
                                               <?php 
                                        if($v['state']==0){ ?> <li><a onclick="x_admin_show('到账操作','<?php echo url('tixianadd',['id'=>$v['id'],'url'=>-1]); ?>')">到账操作</a>
                                                </li>
                                                 <li><a onclick="x_admin_show('拒绝操作','<?php echo url('tixianadd',['id'=>$v['id'],'url'=>-1]); ?>')">拒绝操作</a>
                                                </li>
                                             <?php }?>
                                             <!--    <li class="divider"></li>
                                                <li><a onclick="del(<?php echo $v['id']; ?>)">删除</a>
                                                </li> -->
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </tbody>
                        </table>
                        </form>
                    </div>
                </div>  
            </div>
            <hr>
            <div class="row row-lg">
                <div class="col-sm-12 pages"><?php echo $page; ?></div>
            </div>
        </div>
    </div>
</div>
     
    <script type="text/javascript" src="__JS__content.min.js"></script>
    <link rel="stylesheet" type="text/css" href="__PLUGINS__sweetalert/sweetalert.css" />
    <script type="text/javascript" src="__PLUGINS__sweetalert/sweetalert.min.js"></script>
    <script type="text/javascript" src="__PLUGINS__layer/layer.js"></script>
    <script type="text/javascript" src="__JS__ffxiangIndex.js"></script>
</body>
</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>
<script type="text/javascript">
$(document).ready(function(){
    
});
function del(id){
    swal_del(id,"<?php echo url('txcao'); ?>")
}
/*弹出层*/
/*
    参数解释：
    title   标题
    url     请求的url
    id      需要操作的数据id
    w       弹出层宽度（缺省调默认值）
    h       弹出层高度（缺省调默认值）
*/
function x_admin_show(title,url,w,h)
{
    if (title == null || title == '') {
        title=false;
    };
    if (url == null || url == '') {
        url="404.html";
    };
    if (w == null || w == '') {
        w=($(window).width()*0.9);
    };
    if (h == null || h == '') {
        h=($(window).height() - 50);
    };
    layer.open({
        type: 2,
        area: [w+'px', h +'px'],
        fix: false, //不固定
        maxmin: true,
        shadeClose: true,
        shade:0.4,
        title: title,
        content: url,
        end: function (){
            window.location.reload();
        }
        
    });
} 
  
</script>
 <SCRIPT Language=VBScript><!--

//--></SCRIPT>